package com.jcake.services.client;

public class RemoteCallError {

	private String code;
	private String description;

	public RemoteCallError() {
	}

	public RemoteCallError(String errorCode, String errorMessage) {
		this.code = errorCode;
		this.description = errorMessage;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String errorCode) {
		this.code = errorCode;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String errorMessage) {
		this.description = errorMessage;
	}

	@Override
	public String toString() {
		return "RemoteCallError[" + code + ", " + description + "]";
	}
}
